
SECRET_KEY = "asdfasdfjasdfjasd;lf"

#mysql所在主机名
HOSTNAME = "127.0.0.1"
#MTSQL监听的端口号，默认3306
PORT = 3306
#连接MYSQL的用户名
USERNAME = "root"
#连接MYSQL密码
USERPASW = "460820"
#MYSQL上数据库的名称
DATABASE = "atituide_monitor_sys"
DB_URI = f"mysql+pymysql://{USERNAME}:{USERPASW}@{HOSTNAME}:{PORT}/{DATABASE}?charset=utf8mb4"
SQLALCHEMY_DATABASE_URI = DB_URI

# 邮箱配置
MAIL_SERVER = "smtp.qq.com"
MAIL_USE_SSL = True
MAIL_PORT = 465
MAIL_USERNAME = "1149857858@qq.com"
MAIL_PASSWORD = "jkrhyegqzvizghad"#gntdwszkjdvhgacj
MAIL_DEFAULT_SENDER = "1149857858@qq.com"